#include <cstdio>
#include <iostream>
#include <string.h>

#define MAXSIZE 1024

unsigned char shiftTable[26];

void creatShiftTable(char *patternStr)
{
    unsigned char i;
    unsigned char patternLen=strlen(patternStr);
    memset(shiftTable,patternLen,sizeof(shiftTable));
    for(i=0;i<patternLen-1;i++){
        shiftTable[patternStr[i]-'A'] = patternLen-i-1;
    }
}

int test()
{
    FILE *fp=NULL;
    char testBuf[MAXSIZE];
    if ( (fp=fopen(fileName,"r")) ==NULL ){
        cout<<"Can not open the file!"<<endl;
        return -1;
    }
    
    while(fread(testBuf,sizeof(char),MAXSIZE,fp)){
        //getTestStr(fp);
    }

}
int main()
{

}

